package cn.edu.scau.cmi.xiefuan.abstractfactory.factory;

import cn.edu.scau.cmi.xiefuan.abstractfactory.domain.PingAnBodyInjury;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domain.PingAnCasualty;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domain.PingAnDamageCar;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domain.PingAnMutiAccidents;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domainAbstractClass.AbstractBodyInjury;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domainAbstractClass.AbstractCasualty;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domainAbstractClass.AbstractDamageCar;
import cn.edu.scau.cmi.xiefuan.abstractfactory.domainAbstractClass.AbstractMutiAccidents;

public class PingAnFactory extends InsuranceFactory{

	@Override
	public AbstractBodyInjury createBodyInjury() {
		// TODO Auto-generated method stub
		return new PingAnBodyInjury();
	}

	@Override
	public AbstractCasualty createCasualty() {
		// TODO Auto-generated method stub
		return new PingAnCasualty();
	}

	@Override
	public AbstractDamageCar createDamageCar() {
		// TODO Auto-generated method stub
		return new PingAnDamageCar();
	}

	@Override
	public AbstractMutiAccidents createMutiAccidents() {
		// TODO Auto-generated method stub
		return new PingAnMutiAccidents();
	}

	

}
